package com.jz;

import com.jz.model.UserVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * Created by Hasee on 2022-03-01.
 */
@RestController
public class TestController {
    @Autowired
    private TestMapper testMapper;

    @GetMapping("testConfig")
    public List<UserVo> testConfig(){
        return testMapper.queryUser();
    }
    @GetMapping("testProviderNginx")
    public String testProviderNginx(){
        return "====provider====8011";
    }
}
